Package com.cisco.pt.ipc.sim
Interface IoEComponent
- All Known Subinterfaces:
CustomIO
- All Known Implementing Classes:
CustomIOImpl,IoEComponentImpl
Information provided by the PKI file:
\class IoEComponent
\brief IoEComponent holds and manipulates the IoEComponent on IoE devices.
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionintInformation provided by the PKI file:voidanalogWrite(int value) Information provided by the PKI file:Information provided by the PKI file:voidcustomWrite(String value) Information provided by the PKI file:intInformation provided by the PKI file:voiddigitalWrite(int value) Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:intInformation provided by the PKI file:booleanInformation provided by the PKI file:booleanInformation provided by the PKI file:voidsetIsOutputMode(boolean isOutput) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Port
deleteLink, getBandwidth, getBia, getChannel, getClockRate, getDescription, getEncapProcess, getHardwareQueue, getHigherProcessCount, getKeepAliveProcess, getLightStatus, getLink, getMacAddress, getName, getPortNameNumber, getPower, getQosQueue, getTerminalTypeShortString, getType, isAutoCross, isBandwidthAutoNegotiate, isDuplexAutoNegotiate, isEthernetPort, isFullDuplex, isPortUp, isPowerOn, isProtocolUp, isStraightPins, isWirelessPort, setBandwidth, setBandwidthAutoNegotiate, setChannel, setClockRate, setDescription, setDuplexAutoNegotiate, setFullDuplex, setMacAddress, setPowerMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Method Details
-
getSlotName
String getSlotName()Information provided by the PKI file:
\brief Returns the name of the slot. \return string, the name of the slot.- Returns:
- String Returns a String
-
getSlotNumber
int getSlotNumber()Information provided by the PKI file:
\brief Returns the number of the slot. \return int, the number of the slot.- Returns:
- int Returns a int
-
getComponentType
String getComponentType()Information provided by the PKI file:
\brief Returns the type of the component. \return string, type of the component.- Returns:
- String Returns a String
-
setIsOutputMode
void setIsOutputMode(boolean isOutput) Information provided by the PKI file:
\brief set the flag of slot is using output mode or not. \param isOutput, true if slot is using output mode, false otherwise.- Parameters:
isOutput- Takes in a parameter of isOutput
-
isOutputMode
boolean isOutputMode()Information provided by the PKI file:
\brief Returns true if the slot is using output mode, otherwise false. \return bool, true if the slot is using output mode, otherwise false.- Returns:
- boolean Returns a boolean
-
isInputMode
boolean isInputMode()Information provided by the PKI file:
\brief Returns true if the slot is using input mode, otherwise false. \return bool, true if the slot is using input mode, otherwise false.- Returns:
- boolean Returns a boolean
-
digitalWrite
void digitalWrite(int value) Information provided by the PKI file:
\brief digital write a value to the slot. \param value, the value to write to the slot.- Parameters:
value- Takes in a parameter of value
-
digitalRead
int digitalRead()Information provided by the PKI file:
\brief Returns int digital read from the slot. \return bool, int digital read from the slot.- Returns:
- int Returns a int
-
analogWrite
void analogWrite(int value) Information provided by the PKI file:
\brief analog write a value to the slot. \param value, the value to write to the slot.- Parameters:
value- Takes in a parameter of value
-
analogRead
int analogRead()Information provided by the PKI file:
\brief Returns int analog read from the slot. \return bool, int analog read from the slot.- Returns:
- int Returns a int
-
customWrite
Information provided by the PKI file:
\brief custom write a string to the slot. \param value, the string to write to the slot.- Parameters:
value- Takes in a parameter of value
-
customRead
String customRead()Information provided by the PKI file:
\brief Returns the string custom read from the slot. \return string, the string custom read from the slot.- Returns:
- String Returns a String
-